package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_equip")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class EquipModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //@ExcelProperty(index = 0)
    private Integer number;  //序号
    private String equipNumber;//车牌
    private Integer type;//型号
    @TableField(exist = false)
    private String typeText;//型号
    private String situation;//情况
    private Integer status;//状态
    @TableField(exist = false)
    private String statusText;//状态
    private Timestamp createTime;
    private Timestamp updateTime;
}
